package kr.hkit.powerjava.chapter05.work;

import java.util.Scanner;

public class Prog3 {
	public static void main(String[] args) {
		
		int cm;
		double inch;
		double feet;
		double a;
		Scanner in =new Scanner(System.in);
		
		System.out.print("키를 입력하시오: ");
		cm=in.nextInt();
		
		inch=cm/2.54;
		feet=inch/12;
		a=(inch%12);
		
		
		System.out.println(cm+"cm는 "+(int)feet+"피트 "+(float)a+"인치 입니다.");
		
		
		
		
	}

}
